package com.capinfo.accumulation.service.accounting.mybits.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.capinfo.accumulation.dao. HZJZPZDao;
import com.capinfo.accumulation.model.accounting.mybist. HZJZPZ;
import com.capinfo.accumulation.parameter.accounting.DataGrid;
import com.capinfo.accumulation.service.accounting.mybits.HZJZPZServiceI;

@Service("hZJZPZService")
public class  HZJZPZServiceImpl implements  HZJZPZServiceI {
	
	@Autowired
	 HZJZPZDao  hZJZPZDao;
	@Override
	public int deleteByPrimaryKey(String id) {
		return this.hZJZPZDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(HZJZPZ record) {
		return this.hZJZPZDao.insertSelective(record);
	}

	@Override
	public HZJZPZ selectByPrimaryKey(String id) {
		return this.hZJZPZDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(HZJZPZ record) {
		return this.hZJZPZDao.updateByPrimaryKeySelective(record);
	}
	
	@Override
	public DataGrid findbyByGrid(Map map) {
		DataGrid dataGrid = new DataGrid();
		map.put("dataGrid", dataGrid);
		List<HZJZPZ> retList = this.hZJZPZDao.findbyByGrid(map);
		dataGrid.setRows(retList);
		return dataGrid;
	}
	
	@Override
	public List<Map<String, Object>> hsdw() {
   	return this.hZJZPZDao.hsdw();
	}
	@Override
	public List<Map<String, Object>> cwzt() {
		return this.hZJZPZDao.cwzt();
	}


	@Override
	public List<Map<String, Object>> xianshihsdw(Map map) {
		return this.hZJZPZDao.xianshihsdw(map);
	}

	
	
	@Override
	public List<Map<String, Object>> huixianhsdw(Map map) {
		return this.hZJZPZDao.huixianhsdw(map);
	}

	@Override
	public List<Map<String, Object>> pzlb(Map map) {
		return this.hZJZPZDao.pzlb(map);
	}

	@Override
	public List<Map<String, Object>> ywlx(Map map) {
		return this.hZJZPZDao.ywlx(map);
	}
	
	@Override
	public List<Map<String, Object>> zd(Map map) {
		return this.hZJZPZDao.zd(map);
	}
	
	@Override
	public List<Map<String, Object>> fh(Map map) {
		return this.hZJZPZDao.fh(map);
	}
}
